package com.demo.common.controller;

import com.demo.interceptor.ActionInvInterceptor;
import com.jfinal.aop.Before;
import com.jfinal.core.Controller;
/**
 * JFinal 拦截器专题
 * @author xwalker
 *
 */

public class InterceptorController extends Controller {
	public void global(){
		renderText("调用InterceptorController global 全局级别的拦截器");
	}
	public void index(){
		render("index.jsp");
	}
	@Before(ActionInvInterceptor.class)
	public void testInv(){
		renderNull();
	}
	
	
}
